﻿@{
    ViewBag.Title = "主页";
}
<h2>@ViewBag.Message</h2>
@using (Html.BeginForm("Index", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    <div>
        选择文件：
        <input type="file" name="files" />
        <button>
            提交</button>
    </div>
}
@Html.ActionLink("ASC", "Index", new { sortBy = 0 })
@Html.ActionLink("DESC", "Index", new { sortBy = 1 })
@foreach (var i in ViewBag.User as List<FtpUpload.Controllers.User>)
{ 
    <h3>@i.ID,@i.Name</h3>
}